import { sidebar } from "vuepress-theme-hope";

export default sidebar({
  "/ydfel/": [
    "index.md",
    "introduce.md",
    "todo.md",
    {
      text: "Hooks",
      prefix: "Hooks/",
      collapsible: true,
      children: [
        {
          text: "表格",
          prefix: "useTable/",
          collapsible: true,
          children: "structure",
        },
      ],
    },
    {
      text: "主题布局组件",
      prefix: "主题布局组件/",
      collapsible: true,
      children: "structure",
    },
    {
      text: "字体图标",
      prefix: "字体图标/",
      collapsible: true,
      children: "structure",
    },
    {
      text: "文件预览组件",
      prefix: "文件预览组件/",
      collapsible: true,
      children: "structure",
    },
    {
      text: "流程引擎",
      prefix: "流程引擎/",
      collapsible: true,
      children: "structure",
    },
    {
      text: "条件过滤器",
      prefix: "条件过滤器/",
      collapsible: true,
      children: "structure",
    },
    {
      text: "后台任务进度",
      prefix: "后台任务进度/",
      collapsible: true,
      children: "structure",
    },
    "打印.md",
    "消息通知.md",
    "全局事件发射器.md",
    "统一请求库.md",
    "更新日志.md",
  ],
  "/develop/": "structure",
  "/code/": "structure",
  "/open/": "structure",
  // "/life/": "structure",
  // "/": [
  //   "",
  //   {
  //     text: "案例",
  //     icon: "laptop-code",
  //     prefix: "demo/",
  //     link: "demo/",
  //     children: "structure",
  //   },
  //   {
  //     text: "文档",
  //     icon: "book",
  //     prefix: "guide/",
  //     children: "structure",
  //   },
  //   {
  //     text: "幻灯片",
  //     icon: "person-chalkboard",
  //     link: "https://plugin-md-enhance.vuejs.press/zh/guide/content/revealjs/demo.html",
  //   },
  // ],
});
